<div class="page-header">
  <h1> 管理员 <small> <i class="icon-double-angle-right"> &nbsp;</i><a data-title="添加管理员" data-url="/Admin/<{$controller}>/save" data-type="form" href="javascript:void(0)" class="open_dialog">创建管理员</a> </small> </h1>
</div>
<!-- /.page-header -->
<div class="row">
  <div class="col-xs-12"> 
    <!-- PAGE CONTENT BEGINS -->
    <div class="row">
      <div class="col-xs-12">
        <div class="table-responsive">
          <table id="sample-table-1" class="table table-striped table-bordered table-hover">
            <thead>
              <tr>
                <th>用户名</th>
                <th>角色组</th>
                <th>真实姓名</th>
                <th>E-mail</th>
                <th>最后登录时间</th>
                <th>最后登录IP</th>
                <th>状态</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
            <{foreach from=$data item=user}>
            <tr>
              <td><{$user->username}></td>
              <td><{$user->groupid}></td>
              <td><{$user->truename}></td>
              <td><{$user->email}></td>
              <td><{$user->lasttime}></td>
              <td><{$user->lastip}></td>
              <td><{$user->status}></td>
              <td><a data-url="/Admin/users/save/id/<{$user->id}>" href="javascript:void(0)" class="open_dialog" data-title="修改用户: <{$user->truename}>"  data-type="form">修改</a></td>
            </tr>
            <{/foreach}>
              </tbody>
          </table>
        </div>
        <!-- /.table-responsive --> 
      </div>
      <!-- /span --> 
    </div>
    <!-- /row --> 
    
    <{include file="elements/page.html"}> 
    <!-- PAGE CONTENT ENDS --> 
  </div>
  <!-- /.col --> 
</div>
<!-- /.row --> 